package com.three.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName inventory
 */
@Data
public class Inventory implements Serializable {
    /**
     * 盘点编号
     */
    private Integer invenid;

    /**
     * 盘点时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date inventime;

    /**
     * 盘点员id
     */
    private Integer invenstaffid;

    /**
     * 审核时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date examtime;

    /**
     * 审核员id
     */
    private Integer examstaffid;

    /**
     * 所属分店
     */
    private Integer branchid;

    /**
     * 驳回描述
     */
    private String remarks;

    /**
     * 审核状态
     */
    private Integer state;


    private Branch branch;//分店信息
    private Staff staff;//员工信息
    private Staff examstaff;//审核员信息


    private static final long serialVersionUID = 1L;
}